<div class="banner">
    <ul>
        <?php
        $photos=GalleryHelper::getListPhoto($this->galleryId,false);
        if(count($photos)){
            foreach($photos as $photo){
                echo "<li>".CHtml::image($photo->path,'',array('class'=>$photo->description))."</li>\n";
            }
        }
        ?>
    </ul>
</div>